package com.enzoism.springboot.designpattern.a02decorate;

public class DecorateBootStrap {
    public static void main(String[] args) {
        DecorateReal decorateReal = new DecorateReal();

        DecorateClassA decorateClassA = new DecorateClassA(decorateReal);
        decorateClassA.display();

        DecorateClassB decorateClassB = new DecorateClassB(decorateReal);
        decorateClassB.display();
    }
}
